package com.fita.wechat.service;

import com.fita.entity.order.Order;
import com.fita.entity.order.PaymentRequest;

public interface PaymentCallbackService {
    
    /**
     * 
     * @param requestCode
     * @return
     */
    public PaymentRequest load(String requestCode);
    
    /**
     * 
     * @param paymentRequest
     * @param orderCode
     * @param payCode
     * @param payTime
     * @param amount
     */
    public Order pay(PaymentRequest paymentRequest, String orderCode, String payCode, String payTime, int amount);

}
